package com.lagou;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;
import org.springframework.session.data.redis.config.annotation.web.http.EnableRedisHttpSession;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * @author 黄子濠
 * @date 2020/8/2 9:55
 */
@SpringBootApplication(scanBasePackages = {"com.lagou"})
@EnableRedisHttpSession
@EnableTransactionManagement
@MapperScan(basePackages = "com.lagou.edu.dao")
public class SsmApplication extends SpringBootServletInitializer {
    public static void main(String[] args) {
        SpringApplication.run(SsmApplication.class, args);
    }
}
